<?php
	include("../include/config.php");
	if(isset($_GET['id'])){				mysqli_query($db_connect, "DELETE FROM `page_images` WHERE `image_id` = $_GET[id]");
			header('location:../index.php?data=addimage&page='.$_GET['page'].'&msg=deleted');
	}
	
?>